package admin

import (
	auto "beergo/app/check/auto/controller"
	"beergo/app/check/conf"
	"github.com/beego/beego/v2/server/web"
)

type TermAdminController struct {
	auto.TermController
}

func init() {
	web.Router(conf.UrlPrefixAdmin + "/Term/:id", 		&TermAdminController{}, "*:GetAction")
	web.Router(conf.UrlPrefixAdmin + "/Term/info", 		&TermAdminController{}, "*:InfoAction")
	web.Router(conf.UrlPrefixAdmin + "/Term/scan", 		&TermAdminController{}, "*:ScanAction")
	web.Router(conf.UrlPrefixAdmin + "/Term/list", 	    &TermAdminController{}, "*:ListAction")
	web.Router(conf.UrlPrefixAdmin + "/Term/update", 	&TermAdminController{}, "*:UpdateAction")
	web.Router(conf.UrlPrefixAdmin + "/Term/create", 	&TermAdminController{}, "*:CreateAction")
	web.Router(conf.UrlPrefixAdmin + "/Term/copy", 	    &TermAdminController{}, "*:CopyAction")
	web.Router(conf.UrlPrefixAdmin + "/Term/edit", 	    &TermAdminController{}, "*:EditAction")
	web.Router(conf.UrlPrefixAdmin + "/Term/delete", 	&TermAdminController{}, "*:DeleteAction")
	web.Router(conf.UrlPrefixAdmin + "/Term/:id/:field", &TermAdminController{}, "*:SonsAction")
	web.Router(conf.UrlPrefixAdmin + "/Term/choice", &TermAdminController{}, "*:ChoiceAction")
	web.Router(conf.UrlPrefixAdmin + "/Term/category", &TermAdminController{}, "*:CategoryAction")
}
//func (this *TermAdminController) Prepare() {}
//func (this *TermAdminController) ListAction() {}
//func (this *TermAdminController) GetAction() {}
//func (this *TermAdminController) InfoAction() {}
//func (this *TermAdminController) ScanAction() {}
//func (this *TermAdminController) CreateAction() {}
//func (this *TermAdminController) UpdateAction() {}
//func (this *TermAdminController) CopyAction() {}
//func (this *TermAdminController) DeleteAction() {}
//func (this *TermAdminController) EditAction() {}
//func (this *TermAdminController) SonsAction() {}
//func (this *TermAdminController) ChoiceAction() {}
//func (this *TermAdminController) CategoryAction() {}
